<?php
namespace Catalog\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Category
 *
 * @ORM\Table(name="category")
 * @ORM\Entity
 */
class Category
{
    /**
     * @var integer
     *
     * @ORM\Column(name="category_id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="SEQUENCE")
     * @ORM\SequenceGenerator(sequenceName="category_id_sequence", allocationSize=1, initialValue=1)
     */
    private $categoryId;

    /**
     * @var string
     *
     * @ORM\Column(name="code", type="string", nullable=false)
     */
    private $code;

    /**
     * @var string
     *
     * @ORM\Column(name="path", type="string", nullable=false)
     */
    private $path;
    
    /**
     * 
     */
    public function getId() 
    {
    	return $this->categoryId;
    }
    
    /**
     * 
     * @return string
     */
    public function getCode() 
    {
    	return $this->code;
    }

    /**
     * 
     * @return string
     */
    public function getPath() 
    {
    	return $this->path;
    }
        
}
